import request from '@/utils/request'


export function genCreate(data) {
    return request({
        url: '/v1/generate/create',
        method: 'post',
        data: data
    })
}
export function genList(data) {
    return request({
        url: '/v1/generate/list',
        method: 'post',
        data: data
    })
}

export function getGenerateCountry(data) {
    return request({
        url: "/v1/generate/country",
        method: 'post',
        data: data
    })
}

export function getGenerateCity(data) {
    return request({
        url: "/v1/generate/gen-city-range",
        method: 'post',
        data: data
    })
}
